"""
    修改员工信息接口层
"""
import requests
class UpdateEmployeeApi:
    # 修改员工信息接口
    @classmethod
    def update_employee(cls,json_data,header):
        update_url =  "http://localhost:8080/admin/employee"
        # 发送put请求
        resp = requests.put(url=update_url,json=json_data,headers=header)
        return resp

